package friendsbtt.servlets;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class RotasServlet extends CustomHttpServlet {
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		//TODO: get all the routes
		req.setAttribute("rotas", null);
	    RequestDispatcher view = req.getRequestDispatcher("rotas.jsp");
	    view.forward(req, resp);
	}
}
